'''
Created on 5 Nov 2014

@author: JWright
'''
import abc

class DataAPI(object):
    '''
    Interface for providing access to market price data.
    '''


    @abc.abstractmethod
    def downloadHistorical(self,code,ys,ms=0,ds=1,ye=2035,me=0,de=1,tf="d"):
        """ Download historical market data"""
        return;
    
    @abc.abstractmethod
    def downloadLatest(self,code):
        """ Download the most up to date market data"""
        return;
        